<template>
    <el-dialog title="解调频段" :close-on-click-modal="false" :visible.sync="isShow" width="400px" :lock-scroll="true" :show-close="true">
        <div class="cont">
            <el-input v-model.number="lharr[0]" placeholder="上频段"></el-input>
            <el-input v-model.number="lharr[1]" placeholder="下频段"></el-input>
        </div>
        <div class="button">
            <el-button size="small" type="primary" @click="submit">
                提交
            </el-button>
            <el-button size="small" @click="isShow = false">
                取消
            </el-button>
        </div>

    </el-dialog>
</template>

<script>
export default {
    data() {
        return {
            isShow: false,
            lharr: [0, 0]
        }

    },
    methods: {
        doOpen() {
            this.isShow = true
        },
        submit() {
            this.$emit("sendRadios", this.lharr)
            this.isShow = false
        }
    }
}
</script>

<style lang="less" scoped>
.cont {
    display: flex;
    justify-content: space-around;
    height: 100px;

    .el-input {
        width: 40%;
    }
}
</style>
